package com.ideal.model;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 配置对象 config
 *
 * @author songfz
 * @date 2022-07-13
 */
public class Config
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 文件业务类型 1：解析类文件，2：展示类 3：通用配置类 */
    private Long bizType;

    /** 机型 C919,ARJ21,CXF */
    private String airplaneType;

    /** 文件配置点类型 ECM/MCM,ECP,ECR,技术文件，视图，发送接收，代料单文件 */
    private String configType;

    /** 文件中文名称 展示使用 */
    private String fileZhName;

    /** 文件英文名称 英文名称唯一，作为数据查询的条件 */
    private String fileEnName;

    /** 文件状态 1:已编辑 2:已确认3:已发布 */
    private Long status;

    /** 创建人 */
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm")
    private Date createdTime;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBizType(Long bizType)
    {
        this.bizType = bizType;
    }

    public Long getBizType()
    {
        return bizType;
    }
    public void setAirplaneType(String airplaneType)
    {
        this.airplaneType = airplaneType;
    }

    public String getAirplaneType()
    {
        return airplaneType;
    }
    public void setConfigType(String configType)
    {
        this.configType = configType;
    }

    public String getConfigType()
    {
        return configType;
    }
    public void setFileZhName(String fileZhName)
    {
        this.fileZhName = fileZhName;
    }

    public String getFileZhName()
    {
        return fileZhName;
    }
    public void setFileEnName(String fileEnName)
    {
        this.fileEnName = fileEnName;
    }

    public String getFileEnName()
    {
        return fileEnName;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return "Config{" +
                "id=" + id +
                ", bizType=" + bizType +
                ", airplaneType='" + airplaneType + '\'' +
                ", configType='" + configType + '\'' +
                ", fileZhName='" + fileZhName + '\'' +
                ", fileEnName='" + fileEnName + '\'' +
                ", status=" + status +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                '}';
    }
}
